SmartFTP FTP Library
ISFTPConnection::LStat Method

Retrieves attributes from a file system object. 

This method does not follow symbolic links. To follow symbolic links use the Stat method.

IDL
HRESULT LStat(
    [in] BSTR bstrPath, 
    [in] long nFlags, 
    [out, retval] IFTPItem** retval
);
Parameters

bstrPath
The path to the file system object.
nFlags
The attributes to be returned.

Returns

If the method succeeds the attributes can be retrieved from the returned FTPItem object.

For further information please see "8.5. Retrieving File Attributes" of SSH File Transfer Protocol.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.